package com.ll.app.api.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AddClassBaseReqDTO {

    @NotNull(message = "indexNum不能为null")
    @ApiModelProperty(value = "下标", example = "1")
    private Integer indexNum;

    @NotNull(message = "title不能为null")
    @ApiModelProperty(value = "班级名称", example = "后羿")
    private String name;

    @NotNull(message = "teacher不能为null")
    @ApiModelProperty(value = "老师", example = "街霸")
    private String teacher;

    @ApiModelProperty(value = "学员列表", example = "张三,李四")
    private String extData;
}
